package com.enlorenz.common.geo.map;



/* List<IPoint> pList = new ArrayList<IPoint>();
 pList.add(new DefaultPoint(76.32859,54.780));
 pList.add(new DefaultPoint(124.4047,54.525));
 pList.add(new DefaultPoint(136.9731,21.051));
 pList.add(new DefaultPoint(79.1410,21.950));
 //缩放级别
 bingTileFileParser.setZoom(16);*/

/**
 * 测试
 * 
 * com.copote.common.map.bing.BingTileFileParser
 * com.copote.common.map.google.GoogleTileCmdConsole
 * com.copote.common.map.amap.AmapTileCmdConsole
 * 
 * @author lcb
 */
public class MapParserParamRunner extends AbstractMapParserBaseRunner{
	private String [] args;
	
	/**
	 *  缩放级别 开启线程数 输入目录 输出目录
	 *  112.930526,28.239674:113.065109,28.233019:113.035583,28.111960:112.935333,28.148292 14 30 D:\\roadmap_cn D:\\roadmap_cn_dst
	 * @param args
	 * @throws Exception
	 */
    public static void main(String [] args) throws Exception {
    	MapParserParamRunner mapParserParamRunner=new MapParserParamRunner();
    	mapParserParamRunner.setArgs(args);
    	mapParserParamRunner.doMap();
    }
    
    @Override
	protected String getPointListStr() {
		return args[0];
	}

	@Override
	protected String getZoom() {
		// TODO Auto-generated method stub
		return args[1];
	}

	@Override
	protected String getThreadNum() {
		// TODO Auto-generated method stub
		return args[2];
	}

	@Override
	protected String getSrcFilePath() {
		// TODO Auto-generated method stub
		return args[3];
	}

	@Override
	protected String getDstFilePath() {
		// TODO Auto-generated method stub
		return args[4];
	}

	@Override
	protected String getCoreClass() {
		return args[5];
	}
	
	public void setArgs(String[] args) {
		this.args = args;
	}

	@Override
	protected String getTemplateUrl() {
		return null;
	}

	@Override
	protected String getPicTryTimes() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	protected Boolean getDisplayUrl() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	protected String getStep() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	protected Boolean getCover() {
		// TODO Auto-generated method stub
		return null;
	}

}
